package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.JxPayment;
import org.apache.ibatis.annotations.Param;

public interface JxPaymentMapper {
    JxPayment selectById(@Param("id") Long id);
    List<JxPayment> selectList(JxPayment query);
    int insert(JxPayment e);
    int update(JxPayment e);
    int deleteByIds(Long[] ids);
    // 汇总：按学员统计已支付金额
    java.math.BigDecimal sumPaidByStudent(@Param("studentId") Long studentId);
}


